﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addFunction.aspx.cs" Inherits="Admin_addFunction" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
     <title>无标题页</title>
   <link href="CSS/tables.css" rel="stylesheet" type="text/css" />
    <link href="style/index.css" rel="stylesheet" type="text/css" />
    <link href="style/css.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin ="0">
    <form id="form1" runat="server">
    <div>
    <table cellSpacing="1" cellPadding="2" border="0" style="margin:5px 0 0 0;" width="98%" align="center">
    <tr>
        <td style=" font-size:18px; background-color:#006699; text-align:center; height: 18px; color: white;" colspan="3">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; 本系统所有功能列表 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        </td>
    </tr>
        <tr>
            <td colspan="3" style="height: 163px" >
                <asp:GridView ID="GVAdminFumction" runat="server" AutoGenerateColumns="False" HorizontalAlign="Center"
                    Width="100%" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3">
                    <Columns>
                        <asp:BoundField DataField="AFID" HeaderText="编号" SortExpression="AFID" />
                        <asp:BoundField DataField="ABFID" HeaderText="根节点" SortExpression="ALNAame" />
                        <asp:BoundField DataField="ALName" HeaderText="功能名称" SortExpression="ALNAame" />
                        <asp:BoundField DataField="ALURL" HeaderText="功能URL" SortExpression="AName" />
                        <asp:TemplateField HeaderText="选择功能">
                            <EditItemTemplate>
                                <asp:CheckBox ID="CheckBox1" runat="server" />
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:CheckBox ID="CBISAdd" runat="server"  />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle Height="20px" ForeColor="#000066" />
                    <HeaderStyle ForeColor="White" Height="25px" BackColor="#006699" Font-Bold="True" />
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td colspan="3" style="color: #ff3333">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:LinkButton ID="LinkButton1" runat="server"
                    Enabled="False" Font-Bold="False" Font-Overline="False" Font-Size="12pt" ForeColor="Blue"
                    OnClick="LinkButton1_Click">确认功能</asp:LinkButton>&nbsp; &nbsp;
                <asp:LinkButton ID="LinkButton2" runat="server" Font-Bold="False" Font-Overline="False"
                    Font-Size="12pt" ForeColor="Blue" OnClick="LinkButton1_Click" PostBackUrl="~/Admin/addAdminBigFunction.aspx">添加根节点</asp:LinkButton>
                &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
                <asp:LinkButton ID="LinkButton3" runat="server" Font-Bold="False" Font-Overline="False"
                    Font-Size="12pt" ForeColor="Blue" OnClick="LinkButton1_Click" PostBackUrl="~/Admin/AddAdminFunction.aspx">添加新功能</asp:LinkButton>
                &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 友情提示：把你想要分配的功能选中之后点确认功能即可。 &nbsp; &nbsp;&nbsp;
            </td>
        </tr>
</table>
        </div>
        <asp:Label ID="lblMessages" runat="server" ForeColor="Red" Text="lblMessages" Visible="False"></asp:Label>
        </form>
</body>
</html>
